package listener;

//事件源
public class MyEvenApplication {
    Lis listener;

    //注册监听器
    public void setListener(Lis listener) {
        this.listener = listener;
    }
    //工作
    public void work(){
        MyEven myEven = new MyEven();
        listener.work(myEven);
    }
}
